package me.zingon.demo.component;

import me.zingon.core.context.annotation.SComponent;
import me.zingon.yourbatis.factory.DBPoolFactory;

@SComponent
public class DBInit {

    public DBInit() throws ClassNotFoundException {
        DBPoolFactory.build("com.mysql.jdbc.Driver",20,
                "jdbc:mysql://192.168.11.46:3306/onlineeducation-xinjiang?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf8&allowMultiQueries=true",
                "root","admin1");
    }
}
